<%@page import="cn.edu.cqvie.ssm.model.UserModel"%>
<%@page import="cn.edu.cqvie.ssm.entity.User"%>
<%@ page import="cn.edu.cqvie.ssm.model.impl.UserModelImpl" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>删除用户信息</title>
</head>
<body>
   <%
   try{
	   	String id=request.getParameter("id");
   		UserModel us=new UserModelImpl();
   		us.delete(new Integer(id));
   		response.sendRedirect("list.jsp");
   	}catch(Exception e){
   		response.sendRedirect("list.jsp");
   	}
   %>
</body>
</html>